﻿using Services.Equ.PcapCommunication.Abstract;
using SharpPcap;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;

namespace Services.Equ.PcapCommunication
{
    /// <summary>
    /// 保存配置通讯类(此类不能单独使用，必须先使用ConnnetComunication类建立连接)
    /// </summary>
    public class SaveConfigCommunication : AbstractNormalCommunication
    {
        public SaveConfigCommunication(PhysicalAddress destinationMac, string password, ILiveDevice device) : base(destinationMac, password, device)
        {
            DcpType = 0x5000e;
            OptionType = 5;
            RpcType = 1;
            OpType = 5;
        }

        public override byte[] CreateBlockData()
        {
            return [];
        }
    }
}
